#!/usr/bin/env python
# -*- coding:utf-8 -*-

import sys
import os

# common
from common.log import log
from common.util import Util

# module
from interface.restful import Restful
from control.master import Master

vis_master = Master()

vis_restful = Restful(vis_master)

if __name__ == '__main__':
    log.info('VIS manager start...')

    try:
        vis_restful.run_app()
    except Exception, e:
        log.error('vis_restful start error:%s' % str(e))

    log.info('VIS manager end...')
